package com.opencloud.ywt.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.opencloud.common.model.PageParams;
import com.opencloud.ywt.client.model.entity.BhyfCity;
import com.opencloud.ywt.client.model.entity.BhyfXhbWatch;
import com.opencloud.ywt.client.model.entity.BhyfXhbWatchRecord;

import java.util.List;

public interface BhyfWatchService {
    IPage<BhyfXhbWatch> findListPage(PageParams pageParams,String startTime,String endTime);
    BhyfXhbWatch addBhyfXhbWatch(BhyfXhbWatch entiy);
    void updateBhyfXhbWatch(BhyfXhbWatch entiy);
    BhyfXhbWatch findInfoById(Integer id);

    BhyfXhbWatchRecord findRecordInfoById(Integer id);
    List<BhyfXhbWatchRecord> findRecordListByWatchId(Integer watchid);
    BhyfXhbWatchRecord addBhyfXhbWatchRecord(BhyfXhbWatchRecord entiy);
    void updateBhyfXhbWatchRecord(BhyfXhbWatchRecord entiy);
}
